package com.bugsnag.ohos;

import com.bugsnag.ohos.util.OhosLog;

/**
 * DebugLogger
 *
 * @since 2021-07-05
 */
public class DebugLogger implements Logger {
    /**
     * DebugLogger instance
     */
    public static final DebugLogger INSTANCE = new DebugLogger();
    private static final String TAG = "Bugsnag";

    @Override
    public void e(String msg) {
        OhosLog.e(TAG, msg);
    }

    @Override
    public void e(String msg, Throwable throwable) {
        OhosLog.e(TAG, msg, throwable);
    }

    @Override
    public void w(String msg) {
        OhosLog.w(TAG, msg);
    }

    @Override
    public void w(String msg, Throwable throwable) {
        OhosLog.w(TAG, msg, throwable);
    }

    @Override
    public void i(String msg) {
        OhosLog.i(TAG, msg);
    }

    @Override
    public void i(String msg, Throwable throwable) {
        OhosLog.i(TAG, msg, throwable);
    }

    @Override
    public void d(String msg) {
        OhosLog.d(TAG, msg);
    }

    @Override
    public void d(String msg, Throwable throwable) {
        OhosLog.d(TAG, msg, throwable);
    }
}
